package online_exams.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 答题记录表(TAnswerRecord)表实体类
 *
 * @author makejava
 * @since 2024-12-19 16:50:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TAnswerRecordEntity {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 考试记录ID
     */
    @TableField(value = "exam_record_id")
    private Integer examRecordId;
    /**
     * 试题ID
     */
    @TableField(value = "question_id")
    private Integer questionId;
    /**
     * 学生答案
     */
    @TableField(value = "answer")
    private String answer;
    /**
     * 最终得分
     */
    @TableField(value = "score")
    private BigDecimal score;
    /**
     * 自动评分分数
     */
    @TableField(value = "auto_score")
    private BigDecimal autoScore;
    /**
     * 人工评分分数
     */
    @TableField(value = "manual_score")
    private BigDecimal manualScore;
    /**
     * 教师评语
     */
    @TableField(value = "comment")
    private String comment;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;


}

